package com.hjlsoft.aftp.data;

import java.io.Closeable;
import java.io.IOException;
import java.nio.ByteBuffer;


public interface DataHandle extends Closeable{
	
	void write(byte[] buf, int pos, int len) throws IOException;
	
	void write(ByteBuffer dst) throws IOException;
	
	void close() throws IOException;;
	
	String getName();
	
	DataMeta getDataMeta() throws IOException;
}
